projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a7a7e1d
)
(modify_overlay): Force redisplay if we modify an
author
Kim F. Storm
<storm@cua.dk>
Fri, 24 Feb 2006 23:31:26 +0000
(23:31 +0000)
committer
Kim F. Storm
<storm@cua.dk>
Fri, 24 Feb 2006 23:31:26 +0000
(23:31 +0000)
overlay at the end of the buffer.
src/buffer.c
patch
|
blob
|
history
diff --git
a/src/buffer.c
b/src/buffer.c
index 9388025808c85fe1fe51f20185e117b72371c02e..c817ebc167ead51d2c9bf1a847fa1c473c3b9382 100644
(file)
--- a/
src/buffer.c
+++ b/
src/buffer.c
@@
-3649,6
+3649,10
@@
modify_overlay (buf, start, end)
/* If multiple windows show this buffer, we must do other windows. */
else if (buffer_shared > 1)
windows_or_buffers_changed = 1;
+ /* If we modify an overlay at the end of the buffer, we cannot
+ be sure that window end is still valid. */
+ else if (end >= ZV && start <= ZV)
+ windows_or_buffers_changed = 1;
++BUF_OVERLAY_MODIFF (buf);
}